package com.codingapi.txlcn.tc.config;

import com.codingapi.txlcn.common.util.id.ModIdProvider;
import org.springframework.beans.factory.annotation.Autowired;

public class MyModIdProvider implements ModIdProvider {
    @Autowired
    private ServerConfig serverConfig;

    public String getServerID(){
        return serverConfig.getServerID();
    }

    @Override
    public String modId() {
        return getServerID();
    }
}
